export interface Student {
    id?: number
    name: string
    age: number
    gender: 'M' | 'F'
    email: string
    phone: string
  }

  export interface StudentDto {
    id?: number
    name: string
    age: number
    gender_display: string
    email: string
    phone: string
  }
  
  export interface ListParams {
    page?: number
    page_size?: number
    search?: string
    gender?: string
  }

  export interface PageResult {
    count: number
    next?: number
    previous?: string
    results?: Array<StudentDto>
  }